{include file="header.tpl" title="Bao tri par_agmifolist "}
<span style="color:#FF0000">{$ErrorMinMax} </span>
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" >
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
<tr style="visibility:hidden">
    <td>{$lbl_SEQ}</td>
    <td style="color:#FF0000" colspan="3"><input name="SEQ" id="SEQ" type="text" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" style="background:{$colorSEQ}" value="{$SEQ}" size="25" maxlength="20"  readonly="readonly" /></td>
  </tr>
  <tr>
    <td width="26%">{$lbl_ITEMCHKCD}</td>
    <td style="color:#FF0000" colspan="3"><input name="ITEMCHKCD" id="ITEMCHKCD" type="text" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" style="background:{$colorITEMCHKCD}" value="{$ITEMCHKCD}" size="25" maxlength="20" />
	*
	<input type="hidden" name="tmpITEMCHKCD" id="tmpITEMCHKCD" value="{$tmpITEMCHKCD}" />
	<input type="button" onclick="mywindow = window.open('par_agitemmark_id.php?name=ITEMCHKCD-ITEMCHKNAME-UNIT-SORTNUM', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="phonggd" id="replacement_binoculars" value="     " /> 
	<input type="submit" id="replacement_find" name="find" value="    " {if $activefield eq 'enabled'} disabled="disabled" {/if} />	</td>
  </tr>
  
  <tr>
    <td>{$lbl_ITEMCHKNAME}</td>
    <td colspan="3"><input name="ITEMCHKNAME" type="text" id="ITEMCHKNAME" style="background:{$colorITEMCHKNAME};"  value="{$ITEMCHKNAME}" size="50" maxlength="50" readonly="readonly" />
      <span style="color:#FF0000">*</span></td>
  </tr>
  <tr>
    <td>{$lbl_SORTNUM}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="SORTNUM" type="text" style="background:{$colorSORTNUM}" id="SORTNUM" value="{$SORTNUM}" size="25" maxlength="20" onkeypress="return numberOnly(event);" onblur="formatNumber2(this,this.value,18,2)" readonly="readonly"/>
    </span></span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_MINVAL}</td>
    <td colspan="3"><input name="MINVAL" type="text" id="MINVAL" style="background:{$colorMINVAL};"  value="{$MINVAL}" size="25" maxlength="20" onkeypress="return numberOnly(event);" onblur="formatNumber2(this,this.value,18,2)"  />
	<input type="hidden" name="tmpMINVAL" id="tmpMINVAL" value="{$tmpMINVAL}" />
	<span style="color:#FF0000">*</span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_MAXVAL}</td>
    <td colspan="3"><input name="MAXVAL" type="text" id="MAXVAL" style="background:{$colorMAXVAL};"  value="{$MAXVAL}" size="25" maxlength="20" onkeypress="return numberOnly(event);" onblur="formatNumber2(this,this.value,18,2)" />
	<input type="hidden" name="tmpMAXVAL" id="tmpMAXVAL" value="{$tmpMAXVAL}" />
	<span style="color:#FF0000">*</span></td>
    </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_UNIT}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="UNIT" type="text" style="background:{$colorUNIT}" id="UNIT" value="{$UNIT}" size="25" maxlength="20" readonly="readonly" >
    </span></td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_MARK}</td>
    <td colspan="3"><input name="MARK" type="text" id="MARK" style="background:{$colorMARK};"  value="{$MARK}" size="25" maxlength="20" onkeypress="return numberOnly(event);" onblur="formatNumber2(this,this.value,18,2)" /></td>
    </tr>
  
  
<tr>
<td colspan="4">
<p>
<p></td>
</tr>
<tr>

<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td align="left" nowrap="nowrap" colspan="4">
<input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td width="64%" align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
